<template>
  <div class="autonym">
    <van-nav-bar
      class="autonym-bar"
      title="选择个人实名认证方式"
      left-arrow
      @click-left="$router.go(-1)"
    />
    <div class="autonym-title">
      <span class="autonym-span">为满足业务需求,请进行个人实名认证</span>
      <div class="autonym-business" @click="$router.push('/real')">
        <van-icon
          class="autonym-icon-one"
          class-prefix="iconfont iconshoujirenzheng"
        />
        <div class="autonym-name">
          <span>手机运营商认证</span>
          <span>请准备身份证和本人实名的手机号码</span>
        </div>
        <van-icon class="autonym-icon-end" name="arrow" />
      </div>
      <div class="autonym-human" @click="$router.push('/real')">
        <van-icon
          class="autonym-icon-one"
          class-prefix="iconfont iconrenlianshibie"
        />
        <div class="autonym-name">
          <span
            >人脸识别认证
            <van-tag round type="warning">推荐</van-tag>
          </span>
          <span>未带身份证时,请直接使用刷脸认证</span>
        </div>
        <van-icon class="autonym-icon-end" name="arrow" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style scoped lang="less">
.autonym {
  height: 100vh;
  background-color: #f8f8f8;
  .autonym-bar {
    height: 128px;
    padding-top: 38px;
    box-sizing: border-box;
    /deep/.van-nav-bar__title {
      font-size: 34px;
      font-weight: bold;
    }
    /deep/.van-icon {
      font-size: 48px;
      color: #000;
    }
  }
  .autonym-title {
    padding: 0px 40px;
    .autonym-span {
      font-size: 26px;
      color: #999999;
    }
    .autonym-business {
      height: 180px;
      position: relative;
      margin-top: 18px;
      padding-left: 28px;
      display: flex;
      align-items: center;
      background-color: #fff;
      .autonym-icon-one {
        width: 90px;
        height: 90px;
        text-align: center;
        line-height: 90px;
        background-color: #2489f2;
        color: #fff;
        border-radius: 50%;
        font-size: 32px;
        margin-right: 29px;
      }
      .autonym-name {
        display: flex;
        flex-direction: column;
        span:nth-child(1) {
          font-size: 30px;
          font-weight: bold;
          margin-bottom: 10px;
        }
        span:nth-child(2) {
          font-size: 24px;
          color: #999;
        }
      }
      .autonym-icon-end {
        position: absolute;
        top: 78px;
        right: 28px;
        font-size: 32px;
        color: #999;
      }
    }
    .autonym-human {
      height: 180px;
      position: relative;
      margin-top: 18px;
      padding-left: 28px;
      display: flex;
      align-items: center;
      background-color: #fff;
      .autonym-icon-one {
        width: 90px;
        height: 90px;
        text-align: center;
        line-height: 90px;
        background-color: #18c388;
        color: #fff;
        border-radius: 50%;
        font-size: 42px;
        margin-right: 29px;
      }
      .autonym-name {
        display: flex;
        flex-direction: column;
        margin-right: 87px;
        span:nth-child(1) {
          font-size: 30px;
          font-weight: bold;
          margin-bottom: 10px;
          .van-tag {
            vertical-align: middle;
            margin-left: 18px;
            padding: 2px 10px;
            font-size: 20px;
          }
        }
        span:nth-child(2) {
          font-size: 24px;
          color: #999;
        }
      }
      .autonym-icon-end {
        position: absolute;
        top: 78px;
        right: 28px;
        font-size: 32px;
        color: #999;
      }
    }
  }
}
</style>
